package com.keta.foundation.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.keta.foundation.entity.Dict;


public interface DictDAO extends JpaRepository<Dict, Long>, JpaSpecificationExecutor<Dict> {
	
	List<Dict> getByType(String type);
	
	List<Dict> getByCodeAndType(String key,String type);
	
}
